Everything Totally Explained


Ask & we'll explain, totally!
Glob (programming)
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Glob Programming totally explained

In computer programming, the verb glob or globbing is used to refer to an instance of pattern matching behavior. The noun glob is sometimes used to refer to a particular pattern, for example "use the glob *.log to match all those log files".
   Many command line interpreters (shells) such as Unix shells, cmd.exe and Windows PowerShell, provide globbing on filenames at the command line and in shell scripts.
   The term glob is also used to refer more generally to limited pattern matching facilities of this kind in other contexts:
  • Larry Wall's Programming Perl discusses glob in the context of the Perl language.
  • Tcl contains both true regular expression matching facilities and a more limited kind of pattern matching often described as globbing.
  • Python has a glob module in the standard library which performs wildcard pattern matching on filenames.
  • Ruby has a glob method for the Dir class which performs wildcard patten matching on filenames. Several libraries such as Rant and Rake provide a FileList class which has a glob method or use the method FileList.[] identically.

Etymology

glob is a Unix library function that expands file names using a pattern-matching notation reminiscent of regular expression syntax but without the expressive power of true regular expressions.

Further Information

Get more info on 'Glob Programming'.


External Link Exchanges

Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

    <a href="http://glob__programming.totallyexplained.com">Glob (programming) Totally Explained</a>

Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
   As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
This article contains text from the Wikipedia article Glob (programming) (History) and is released under the GFDL | RSS Version